<div id="<?php echo $this->getId(); ?>" class="ml-widget">
    <div class="ml-widget-head">
        <?php if ($this->canMove): ?>
        <div class="ml-widget-move">
            
        </div>
        <?php endif; ?>
        <div class="ml-widget-title">
            <?php
            echo $this->getTitle();
            ?>
        </div>
        <?php if ($this->canToggle): ?>
        <div class="ml-widget-toggle">
            
        </div>
        <?php endif; ?>
        <?php if ($this->canRefresh): ?>
        <div class="ml-widget-refresh">
            
        </div>
        <?php endif; ?>
    </div>
    <div class="ml-widget-content">
        <?php if (isset($this->_contentUrl)): ?>
        <script type="text/javascript">
            loadContent("<?php echo $this->getId(); ?>","<?php echo $this->getContentUrl(); ?>");
        </script>
        <?php endif; ?>
    </div>
</div>